/**
 * Copyright &copy; 2012-2016 <a href="https://github.com/thinkgem/jeesite">JeeSite</a> All rights reserved.
 */
package com.msk.sys.mapper;


import com.msk.sys.domain.Office;
import org.springframework.stereotype.Repository;

import java.util.List;
import java.util.Map;

/**
 * 机构DAO接口
 * @author ThinkGem
 * @version 2014-05-16
 */
@Repository
public interface OfficeDao extends TreeDao<Office> {

	public Office findListByCode(Office office);

	public void copyTable(Map<String,String> params);

	public void deleteTable(Map<String,String> params);

	/**
	 * @description findCodeById
	 * @date 2018-8-2
	 * @author chuming
	 * @param id
	 * @return
	 */
	public String findCodeById(String id);

	public List<Office> findOnlyList(Office office);

	public List<Office> findListByMobile(Office office);
}
